<?php
	/* Description: This file is used to add sub sub category. */
	#########IncludeFiles####################################################################################
	include_once '../inc/config.php';
	include_once("../inc/bootstrape.php");
	require_once _SITE_PATH_.'classes/Vendor/Vendor.php';
	require_once _SITE_PATH_.'classes/Master/Master.php';
	require_once _SITE_PATH_.'classes/CommonUtility/CommonUtility.php';

	if( $_POST['submit']=='Submit'){   
		$parms['name'] = $_POST['name'];
			
		if( CommonUtility::insertData($parms, 'country_master')) {        
			header("Location: country_mng.php?msg=1404");            
			exit;
		}
		$err = 1405;    
	}

	$errMsg = $err;
	$_tplName = 'master/country_add.tpl';
	$_title = 'Add Country';

	require_once _ADMIN_TPL_MAIN_;
?>